package edu.hwadee.entity;

import java.util.Date;

/**
 * Carbuy entity. @author MyEclipse Persistence Tools
 */

public class Carbuy implements java.io.Serializable {

	// Fields

	private Integer carbuyId;
	private Carcomplement carcomplement;
	private Staff staff;
	private Company company;
	private Date manufactureDate;
	private String origin;
	private Short butNumber;
	private Date buyDate;
	private Float price;
	private Float buyFee;
	private String purpose;
	private Short checkState;

	// Constructors

	/** default constructor */
	public Carbuy() {
	}

	/** full constructor */
	public Carbuy(Carcomplement carcomplement, Staff staff, Company company, Date manufactureDate, String origin,
			Short butNumber, Date buyDate, Float price, Float buyFee, String purpose, Short checkState) {
		this.carcomplement = carcomplement;
		this.staff = staff;
		this.company = company;
		this.manufactureDate = manufactureDate;
		this.origin = origin;
		this.butNumber = butNumber;
		this.buyDate = buyDate;
		this.price = price;
		this.buyFee = buyFee;
		this.purpose = purpose;
		this.checkState = checkState;
	}

	// Property accessors

	public Integer getCarbuyId() {
		return this.carbuyId;
	}

	public void setCarbuyId(Integer carbuyId) {
		this.carbuyId = carbuyId;
	}

	public Carcomplement getCarcomplement() {
		return this.carcomplement;
	}

	public void setCarcomplement(Carcomplement carcomplement) {
		this.carcomplement = carcomplement;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Date getManufactureDate() {
		return this.manufactureDate;
	}

	public void setManufactureDate(Date manufactureDate) {
		this.manufactureDate = manufactureDate;
	}

	public String getOrigin() {
		return this.origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public Short getButNumber() {
		return this.butNumber;
	}

	public void setButNumber(Short butNumber) {
		this.butNumber = butNumber;
	}

	public Date getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Float getBuyFee() {
		return this.buyFee;
	}

	public void setBuyFee(Float buyFee) {
		this.buyFee = buyFee;
	}

	public String getPurpose() {
		return this.purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

	public Short getCheckState() {
		return this.checkState;
	}

	public void setCheckState(Short checkState) {
		this.checkState = checkState;
	}

}